package utils;

import java.util.List;

import javax.ejb.Remote;

import dtos.ResticketDTO;
import dtos.UserDTO;

@Remote
public interface ResticketDAORemote {

	void insertResticket(ResticketDTO ticket);

	ResticketDTO getResticket(int id);

	List<ResticketDTO> getAllRestickets();

	List<ResticketDTO> getResticketsByUserIdCurrentMonth(UserDTO ud);

	void updateResticket(ResticketDTO ud);
	
	void deleteResticket(ResticketDTO ud);

	List<ResticketDTO> getResticketsByUserDomain(UserDTO user);

	List<ResticketDTO> getResticketsByUser(UserDTO user);

	List<ResticketDTO> getResticketsByReplacerAdmin();

	List<ResticketDTO> getAllResticketsOrderedByIdAndStatus();
}
